package com.blrs.system.service.impl;

import java.util.List;

import com.blrs.system.domain.ActDataEcho;
import com.blrs.system.mapper.ActDataEchoMapper;
import com.blrs.system.service.IActDataEchoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 流程数据回显Service业务层处理
 * 
 * @author yuxiang.chen
 * @date 2023-08-17
 */
@Service
public class ActDataEchoServiceImpl implements IActDataEchoService
{
    @Autowired
    private ActDataEchoMapper actDataEchoMapper;

    /**
     * 查询流程数据回显
     * 
     * @param id 流程数据回显主键
     * @return 流程数据回显
     */
    @Override
    public ActDataEcho selectActDataEchoById(Integer id)
    {
        return actDataEchoMapper.selectActDataEchoById(id);
    }

    /**
     * 查询流程数据回显列表
     * 
     * @param actDataEcho 流程数据回显
     * @return 流程数据回显
     */
    @Override
    public List<ActDataEcho> selectActDataEchoList(ActDataEcho actDataEcho)
    {
        return actDataEchoMapper.selectActDataEchoList(actDataEcho);
    }

    /**
     * 新增流程数据回显
     * 
     * @param actDataEcho 流程数据回显
     * @return 结果
     */
    @Override
    public int insertActDataEcho(ActDataEcho actDataEcho)
    {
        return actDataEchoMapper.insertActDataEcho(actDataEcho);
    }

    /**
     * 修改流程数据回显
     * 
     * @param actDataEcho 流程数据回显
     * @return 结果
     */
    @Override
    public int updateActDataEcho(ActDataEcho actDataEcho)
    {
        return actDataEchoMapper.updateActDataEcho(actDataEcho);
    }

    /**
     * 批量删除流程数据回显
     * 
     * @param ids 需要删除的流程数据回显主键
     * @return 结果
     */
    @Override
    public int deleteActDataEchoByIds(Integer[] ids)
    {
        return actDataEchoMapper.deleteActDataEchoByIds(ids);
    }

    /**
     * 删除流程数据回显信息
     * 
     * @param id 流程数据回显主键
     * @return 结果
     */
    @Override
    public int deleteActDataEchoById(Integer id)
    {
        return actDataEchoMapper.deleteActDataEchoById(id);
    }
}
